<?php
namespace User\Factory\Form;

use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use User\Form\Login;
//use User\Form\LoginFilter;
use User\Options;

class LoginFormFactory implements FactoryInterface
{
    /**
     * {@inheritDoc}
     */
    public function createService(ServiceLocatorInterface $serviceManager)
    {
        /* @var $options Options\ModuleOptions */
        $options = $serviceManager->get('user_module_options');

        //$inputFilter = new LoginFilter($options);

        $form = new Login('login' , null);
        //$form->setInputFilter($inputFilter);

        return $form;
    }
}
